<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>

<head>
<title>INSTrument</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="../../Romes_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='../../Romes.css'>");}
//-->
</script>
<style type="text/css">
<!--
p.whs1 { x-condition:OLH; }
p.whs2 { margin-left:144pt; }
p.whs3 { margin-left:162pt; }
hr.whs4 { float:aligncenter; width:50%; x-condition:OLH; }
td.whs5 { border-left-style:none; border-top-style:none; border-right-style:none; border-bottom-style:none; background-color:#cbcbcb; border-left-width:4px; border-top-width:4px; border-right-width:4px; border-bottom-width:4px; }
img_whs6 { border:none; width:47px; height:16px; float:none; border-style:none; }
img_whs7 { border:none; width:36px; height:37px; float:none; border-style:none; }
img_whs8 { border:none; width:20px; height:23px; float:none; border-style:none; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
function ehlp_showtip(current,e,text)
{
  if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape'))
  {
    document.tooltip.document.write("<layer bgColor='yellow' style='border:1px solid black;font-size:12px;'>"+ text + "</layer>");
    document.tooltip.document.close();
    document.tooltip.left=e.pageX+5;
    document.tooltip.top=e.pageY+5;
    document.tooltip.visibility="show";
  }
}
function ehlp_hidetip()
{
  document.tooltip.visibility="hidden";
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="../../whmsg.js"></script>
<script type="text/javascript" language="javascript" src="../../whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="../../whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="../../whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="../../whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Command Reference\nSCPI Command Reference\nINSTrument");
addTocInfo("Command Reference\nSCPI Command Reference\nINSTrument\nPORT:COUNt");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if (window.setRelStartPage)
	{
	setRelStartPage("../../Start.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();
//-->
</script><script type="text/javascript" language="JavaScript1.2" src="../../ehlpdhtm.js" x-save-method="compute-relative" name="EHELP_DHTM"></script>
<script type="text/javascript"
		language=JavaScript1.2>
<!-- 
if( typeof( kadovInitEffects ) != 'function' ) kadovInitEffects = new Function();if( typeof( kadovInitTrigger ) != 'function' ) kadovInitTrigger = new Function();if( typeof( kadovFilePopupInit ) != 'function' ) kadovFilePopupInit = new Function();if( typeof( kadovTextPopupInit ) != 'function' ) kadovTextPopupInit = new Function();
 //-->
</script>


<h3>INSTrument... &nbsp;&nbsp;
<a href="javascript:void(0);" onClick="var e; if (parseInt(navigator.appVersion)>=4){e=event;}  if (parseInt(navigator.appVersion) >=2 && typeof(PopupMenu_Invoke) == 'function') PopupMenu_Invoke(e,'','Front Panel','../../Preparing_for_Use/Front_Panel.htm');return false;" title="Related Topics"><img src="../../ss_btn_related_topics.gif" border=0 height=20 width=96 alt="Related Topics"></a>

 </h3>

<p>This subsystem identifies and selects particular resources (SCPI: logical 
 instruments) of the analyzer. &nbsp;</p>

<p class=space>&nbsp;</p>

<p class="whs1">Command tree: <a class="dropspot" href="javascript:kadovTextPopup(this)" id="a1" style="x-condition: OLH; /*begin!kadov{{*/ position: relative; /*}}end!kadov*/ ">INSTrument</a><script 
 type="text/javascript"
	language=JavaScript1.2><!--
kadovInitEffects('a1');
//--></script></p>


<div class="droptext" id="POPUP220449724" style="display: 'none'; " x-ss-type="dropdown">
 <p class="whs2"><a href="INSTrument.htm#NSELect"
									id=a4
									style="/*begin!kadov{{*/ position: relative; /*}}end!kadov*/ ">:NSELect</a></p>
 <p class="whs2">:PORT</p>
 <p class="whs3"><a href="#PORT_COUNt"
									id=a2
									style="/*begin!kadov{{*/ position: relative; /*}}end!kadov*/ ">:COUNt?</a></p>
 <p class="whs2"><a href="INSTrument.htm#SELect"
									id=a5
									style="/*begin!kadov{{*/ position: relative; /*}}end!kadov*/ ">:SELect</a></p>
</div><hr align="center" width="50%" class="whs4">


<h4><a name=NSELect></a>INSTrument:NSELect &lt;Ch&gt;</h4>

<p>Selects a channel &lt;Ch&gt; as the active channel. </p>

<table x-use-null-cells>
<col>
<col>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tableft>&lt;Ch&gt;</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext>Number of the channel to be activated. The channel must 
 be created before using <span style="font-family: 'Courier New', monospace;"><a 
 HREF="../CONFigure/CONFigure.htm#STATe"
	id=A6
	style="/*begin!kadov{{*/ position: relative; /*}}end!kadov*/ ">CONFigure:CHANnel&lt;Ch&gt;:STATe 
 ON</a><script type="text/javascript"
									language=JavaScript1.2><!--
kadovInitEffects('A6');
//--></script></span>. 
 </td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tabright>Range [def. unit]</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext>1, 2, ... [&#8211;]</td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tabright>*RST value</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext>1</p>
<p class=space>&nbsp;</td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tableft>SCPI, Command Types</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext>Confirmed, command or query. If all channels have been 
 deleted <span style="font-family: 'Courier New', monospace;"><a href="../CONFigure/CONFigure.htm#STATe"
	id=a8
	style="/*begin!kadov{{*/ position: relative; /*}}end!kadov*/ ">CONFigure:CHANnel&lt;Ch&gt;:STATe 
 OFF</a><script type="text/javascript"
									language=JavaScript1.2><!--
kadovInitEffects('a8');
//--></script></span> 
 the query returns 0.</p>
<p class=space>&nbsp;</td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tableft>Example:</td>
<td colspan="1" rowspan="1" bgcolor="#CBCBCB" class="whs5">
<p class=Example
	style="font-family: 'Courier New', monospace;"><code style="font-family: 'Courier New', monospace;"><span 
 style="font-family: 'Courier New', monospace;">CONF:CHAN2:STAT ON; INST:NSEL?</span> 
 </code></p>
<p class=Exampletext><code style="font-family: Arial, sans-serif;"><span 
 style="font-family: Arial, sans-serif;">Create channel no. 2 and select 
 it as the active channel. The query returns 2.</span></code></p>
<p class=space>&nbsp;</td></tr>
</table>


<hr align="center" width="50%" class="whs4">


<h4><a name=PORT_COUNt></a>INSTrument:PORT:COUNt? </h4>

<p>Returns the number of test ports of the analyzer. </p>

<table x-use-null-cells>
<col>
<col>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tableft>Response</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext>Number of ports (integer number).</td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tabright>Range [def. unit]</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext>1, 2, 3 or 4, depending on the analyzer model.</td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tabright>*RST value</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext>&#8211;</p>
<p class=space>&nbsp;</td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tableft>SCPI, Command Types</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext>Device-specific, query only. </p>
<p class=space>&nbsp;</td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tableft>Example:</td>
<td colspan="1" rowspan="1" bgcolor="#CBCBCB" class="whs5">
<p class=Example><code style="font-family: 'Courier New', monospace;"><span 
 style="font-family: 'Courier New', monospace;">INP:PORT:COUN?</span> </code></p>
<p class=space>&nbsp;</td></tr>
</table>


<hr align="center" width="50%" class="whs4">


<h4><a name=SELect></a><img src="../../small_images/ZVR.gif" x-maintain-ratio="TRUE" width="47px" height="16px" border="0" class="img_whs6"> INSTrument[:SELect] <br>
CHANNEL1 |&nbsp;CHANNEL2 |&nbsp;CHANNEL3 |&nbsp;CHANNEL4 </h4>

<p>Selects a channel &lt;Ch&gt; as active channel. </p>

<p><img src="../../small_images/tip.jpg" x-maintain-ratio="TRUE" width="36px" height="37px" border="0" class="img_whs7">To select a channel number &gt; 4 use the generalized 
 command <span style="font-family: 'Courier New', monospace;"><a href="INSTrument.htm#NSELect"
	id=A10
	style="/*begin!kadov{{*/ position: relative; /*}}end!kadov*/ ">INSTrument:NSELect 
 &lt;Ch&gt;</a><script type="text/javascript"
											language=JavaScript1.2><!--
kadovInitEffects('A10');
//--></script></span>. 
 &nbsp;</p>

<table x-use-null-cells>
<col>
<col>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tableft
	style="color: #000000;">Parameters</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext
	style="color: #000000;">Number of the channel to be activated. The 
 channel must be created before using <span style="font-family: 'Courier New', monospace; color: #0000ff;"><font color=blue ><a 
 href="../CONFigure/CONFigure.htm#STATe"
	id=a7
	style="color: #0000ff; /*begin!kadov{{*/ position: relative; /*}}end!kadov*/ ">CONFigure:CHANnel&lt;Ch&gt;:STATe 
 ON</a><script type="text/javascript"
									language=JavaScript1.2><!--
kadovInitEffects('a7');
//--></script></font></span>. 
 </td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tabright
	style="color: #000000;">Range [def. unit]</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext
	style="color: #000000;">CHANNEL1, CHANNEL2, CHANNEL3, CHANNEL4 [&#8211;]</td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tabright>*RST value</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext>CHANNEL1</p>
<p class=space>&nbsp;</td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tableft>SCPI, Command Types</td>
<td colspan=1
	rowspan=1>
<p class=Tabtext>Confirmed, command or query. If all channels have been 
 deleted (<span style="font-family: 'Courier New', monospace;"><a href="../CONFigure/CONFigure.htm#STATe"
	id=a9
	style="/*begin!kadov{{*/ position: relative; /*}}end!kadov*/ ">CONFigure:CHANnel&lt;Ch&gt;:STATe 
 OFF</a><script type="text/javascript"
									language=JavaScript1.2><!--
kadovInitEffects('a9');
//--></script>)</span> 
 the query returns CHANNEL0.</p>
<p class=space>&nbsp;</td></tr>

<tr>
<td colspan=1
	rowspan=1>
<p class=Tableft>Example:</td>
<td colspan="1" rowspan="1" bgcolor="#CBCBCB" class="whs5">
<p class=Example
	style="font-family: 'Courier New', monospace;"><code style="font-family: 'Courier New', monospace;"><span 
 style="font-family: 'Courier New', monospace;">CONF:CHAN2:STAT ON; INST 
 CHANNEL2</span> </code></p>
<p class=Exampletext><code style="font-family: Arial, sans-serif;"><span 
 style="font-family: Arial, sans-serif;">Create channel no. 2 and select 
 it as the active channel. </span></code></p>
<p class=space>&nbsp;</td></tr>
</table>


<hr align="center" width="50%" class="whs4">


<p class=Linkline
	style="x-condition: OLH;"><a title="Back to top" href="INSTrument.htm" id="a3" style="x-condition: OLH; /*begin!kadov{{*/ position: relative; /*}}end!kadov*/ " onmouseover="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_showtip(this,event,'Back to top');" onmouseout="if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape')) ehlp_hidetip();"><img src="../../small_images/baby_up.gif" x-maintain-ratio="TRUE" width="20px" height="23px" border="0" class="img_whs8"></a><script type="text/javascript"
											language=JavaScript1.2><!--
kadovInitEffects('a3');
//--></script></p>

<script language="javascript1.2" type="text/javascript"><!--
kadovTextPopupInit('a1','POPUP220449724');
//--></script><script type="text/javascript" language="JavaScript" title="WebHelpRelatedTopics"><!--
if (parseInt(navigator.appVersion) >= 3 && typeof (WritePopupMenuLayer) == "function")
  WritePopupMenuLayer();
//--></script><script type="text/javascript" language="JavaScript">
<!--
 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == 'Netscape'))
  document.write("<div id='tooltip' class='WebHelpPopupMenu'></div>");
//-->
</script><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
	writeIntopicBar(0);
//-->
</script>
</body>
</html>
